/** 
  * @author Ji Ye Choi <cgycgy@naver.com>
  * @version 1.9
  * @since 2010-11-02
  */ 

public class NotOCP_Main {
	/**
	 * @param ar
	 */
	public static void main(String[] ar) {
		Rectangle[] rt = new Rectangle[3];
		rt[0] = new Rectangle(2, 10);
		rt[1] = new Rectangle(3, 10);
		rt[2] = new Rectangle(4, 10);

		Circle[] cr = new Circle[3];
		cr[0] = new Circle(3);
		cr[1] = new Circle(2);
		cr[2] = new Circle(4);

		AreaCalculator ac = new AreaCalculator();
		int temp = ac.Area(rt);
		int temp2 = ac.Area(cr);
		System.out.println("Rectangle : " + temp);
		System.out.println("Circle : " + temp2);
	}
}

